/*
 * Multi kernel versions definition
 */
#ifndef _VERSION_H
#define _VERSION_H

#include <generated/uapi/linux/version.h>

/*
 * Support multi kernel versions
 */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,6,0)
#define TK5
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,203)
#define TK4_NEW
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,119)
#define TK4_OLD
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,1)
#define TK3
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
#define TK2
#if LINUX_VERSION_CODE == KERNEL_VERSION(3,10,0)
#define KVM3
#endif
#endif

#endif
